package com.netease.pris.protocol;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;
import com.netease.f.b;
import com.netease.f.f;
import java.util.Iterator;
import java.util.List;

public class XMLParcelableTag extends b
  implements Parcelable
{
  public static final Parcelable.Creator CREATOR = new j();

  public XMLParcelableTag(Parcel paramParcel)
  {
    super(paramParcel.readString());
    g(paramParcel.readString());
    int j = paramParcel.readInt();
    if (j > 0)
      for (int m = 0; m < j; m++)
        a(new XMLParcelableAttribute(paramParcel));
    int k = paramParcel.readInt();
    if (k > 0)
      while (i < k)
      {
        d(new XMLParcelableTag(paramParcel));
        i++;
      }
  }

  public XMLParcelableTag(b paramb)
  {
    super(paramb);
  }

  public XMLParcelableTag(String paramString)
  {
    super(paramString);
  }

  public XMLParcelableTag(String paramString1, String paramString2)
  {
    super(paramString1, paramString2);
  }

  public b a(String paramString1, String paramString2)
  {
    XMLParcelableTag localXMLParcelableTag = new XMLParcelableTag(paramString1, paramString2);
    d(localXMLParcelableTag);
    return localXMLParcelableTag;
  }

  public void a(f paramf)
  {
    if ((paramf instanceof XMLParcelableAttribute))
      super.a(paramf);
  }

  public void b(String paramString1, String paramString2)
  {
    a(new XMLParcelableAttribute(paramString1, paramString2));
  }

  public b d(b paramb)
  {
    if ((paramb instanceof XMLParcelableTag));
    for (b localb = super.d(paramb); ; localb = null)
      return localb;
  }

  public int describeContents()
  {
    return 0;
  }

  public void writeToParcel(Parcel paramParcel, int paramInt)
  {
    String str1;
    String str2;
    label26: List localList1;
    label48: List localList2;
    if (z() == null)
    {
      str1 = "";
      paramParcel.writeString(str1);
      if (A() != null)
        break label73;
      str2 = "";
      paramParcel.writeString(str2);
      localList1 = p();
      if (localList1 != null)
        break label82;
      paramParcel.writeInt(0);
      localList2 = q();
      if (localList2 != null)
        break label133;
      paramParcel.writeInt(0);
    }
    while (true)
    {
      return;
      str1 = z();
      break;
      label73: str2 = A();
      break label26;
      label82: paramParcel.writeInt(localList1.size());
      Iterator localIterator1 = localList1.iterator();
      while (localIterator1.hasNext())
        ((XMLParcelableAttribute)(f)localIterator1.next()).writeToParcel(paramParcel, paramInt);
      break label48;
      label133: paramParcel.writeInt(localList2.size());
      Iterator localIterator2 = localList2.iterator();
      while (localIterator2.hasNext())
        ((XMLParcelableTag)(b)localIterator2.next()).writeToParcel(paramParcel, paramInt);
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.protocol.XMLParcelableTag
 * JD-Core Version:    0.6.0
 */